<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>404</title>
    <link rel="stylesheet" href="{:C('__STATIC__')}{$theme}/Static/{:C('css')}/common.css" />
    <style type="text/css">
        .banx-a{width: 7rem;height:10rem;margin:1rem auto 0;z-index: 1;}
        .e-img {width:3rem;margin:1.5rem 2rem 0;}
        .wait {width:100%;text-align: center;font-size:0.4rem;color:#666;}
        .error-title {width:100%;text-align: center;font-size:0.45rem;color: #d43f4f;font-weight: bold;}
    </style>
</head>
<body>
<div class="banx-a">
    <img src="{:C('__STATIC__')}{$theme}/Static/img/error.png" class="e-img"/>
    <p class="error-title"><?php echo(strip_tags($error));?></p>
    <p class="wait">
        自动 <a id="href" href="<?php echo($jumpUrl);?>">跳转</a>
        Wait： <b id="wait"><?php echo($waitSecond);?></b>
    </p>
</div>
</body>
</html>
<script type="text/javascript">
    (function(){
        var wait = document.getElementById('wait'),href = document.getElementById('href').href;
        var interval = setInterval(function(){
            var time = --wait.innerHTML;
            if(time <= 0) {
                location.href = href;
                clearInterval(interval);
            }
        }, 1000);
    })();
</script>